import request from '@/utils/request'

// 查询SOS名单列表
export function listSos_roster(query) {
  return request({
    url: '/ora/sos_roster/list',
    method: 'get',
    params: query
  })
}

// 查询SOS名单详细
export function getSos_roster(id) {
  return request({
    url: '/ora/sos_roster/' + id,
    method: 'get'
  })
}

// 新增SOS名单
export function addSos_roster(data) {
  return request({
    url: '/ora/sos_roster',
    method: 'post',
    data: data
  })
}

// 修改SOS名单
export function updateSos_roster(data) {
  return request({
    url: '/ora/sos_roster',
    method: 'put',
    data: data
  })
}

// 删除SOS名单
export function delSos_roster(id) {
  return request({
    url: '/ora/sos_roster/' + id,
    method: 'delete'
  })
}
